package main

import (
	//"fmt"
	"ycxp/conf"
	"ycxp/gateway"
	"ycxp/login"
	"ycxp/ys"
	"ycxp/ysjzx"
	yconf "ycxp/ysjzx/conf"
	//"ycxp/ysjzx/rabbitmq"
)

func main() {
	yconf.LogLevel = conf.Server.LogLevel
	yconf.LogPath = conf.Server.LogPath
	yconf.LogFlag = conf.LogFlag
	yconf.ConsolePort = conf.Server.ConsolePort
	yconf.ProfilePath = conf.Server.ProfilePath

	ysjzx.Run(
		ys.Module,
		//mq.Module,
		gateway.Module,
		login.Module,
	)
}
